package com.zimin.cloud.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zimin.cloud.mine.pojo.system.business.RoleBO;
import com.zimin.cloud.mine.pojo.system.view.RoleVO;
import com.zimin.cloud.system.pojo.entity.Role;
import com.zimin.mapper.pojo.IBaseService;

import java.io.Serializable;
import java.util.Collection;

/**
 * <p>
 * 角色信息 服务类
 * </p>
 *
 * @author zimin
 * @since 2021-12-30 11:05
 */
public interface IRoleService extends IBaseService<Role> {

    /**
     * 根据RoleName查询角色
     */
    RoleVO getRoleByName(String roleName);

    /**
     * <p>根据RoleKey</p>
     *
     * @param roleKey 角色关键字
     * @return com.zimin.cloud.mine.pojo.system.view.RoleVO
     * @since 2022-03-12 16:49:29
     */
    RoleVO getRoleByKey(String roleKey);


}
